package models

type SysJob struct {
	ID int `json:"id" gorm:"primary key;not null;unique"`
	StuID int `json:"stu_id" gorm:"index;not null"`
	WorkProvince string `json:"work_province"`
	WorkUnit string `json:"work_unit"`
	Position string `json:"position"`
	IndustyType string `json:"industy_type"`
	WorkState string `json:"work_state"`
	StartSalary float64 `json:"start_salary"`
	Student SysStudent `gorm:"ForeignKey:StuID;AssociationForeignKey:StuID" json:"student"`
}
